<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>
if (window.testRunner)
    testRunner.dumpAsText();

function finish() {
    document.getElementById("result").innerHTML = "PASS";
}
</script>
</head>
<body onload="finish()">
<p>Tests that text transformation applied to a non-text node does not result in crash.</p>
<div id="result"></div>
<br>
<style type="text/css">
br {
    text-transform: lowercase;
}
br:first-letter {
    text-transform: lowercase;
}
</style>
</br>
</body>
</html>
